<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        
        
        
        <link rel="shortcut icon" href="../../img/favicon.ico">
        <title>用户app接口 - Mall Docs</title>
        <link href="../../css/bootstrap-custom.min.css" rel="stylesheet">
        <link href="../../css/font-awesome.min.css" rel="stylesheet">
        <link href="../../css/base.css" rel="stylesheet">
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/github.min.css">
        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!--[if lt IE 9]>
            <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
            <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->

        <script src="../../js/jquery-1.10.2.min.js" defer></script>
        <script src="../../js/bootstrap-3.0.3.min.js" defer></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
        <script>hljs.initHighlightingOnLoad();</script> 
    </head>

    <body>

        <div class="navbar navbar-default navbar-fixed-top" role="navigation">
            <div class="container">

                <!-- Collapsed navigation -->
                <div class="navbar-header">
                    <!-- Expander button -->
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="../..">Mall Docs</a>
                </div>

                <!-- Expanded navigation -->
                <div class="navbar-collapse collapse">
                        <!-- Main navigation -->
                        <ul class="nav navbar-nav">
                            <li >
                                <a href="../..">Home</a>
                            </li>
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">User <b class="caret"></b></a>
                                <ul class="dropdown-menu">
                                    
<li >
    <a href="../../user/user/">Main</a>
</li>
                                </ul>
                            </li>
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Mall <b class="caret"></b></a>
                                <ul class="dropdown-menu">
                                    
<li >
    <a href="../../mall/">首页</a>
</li>
                                    
<li >
    <a href="../../mall/catalog/">分类</a>
</li>
                                    
<li >
    <a href="../../mall/coupon/">优惠券</a>
</li>
                                    
<li >
    <a href="../../mall/goods/">产品</a>
</li>
                                    
<li >
    <a href="../../mall/search/">搜索</a>
</li>
                                    
<li >
    <a href="../../mall/cart/">购物车</a>
</li>
                                    
<li >
    <a href="../../mall/address/">地址</a>
</li>
                                    
<li >
    <a href="../../mall/activity/">活动</a>
</li>
                                    
<li >
    <a href="../../mall/order/">订单</a>
</li>
                                    
<li >
    <a href="../../mall/my/">个人中心</a>
</li>
                                    
<li >
    <a href="../../mall/collect/">收藏</a>
</li>
                                    
<li >
    <a href="../../mall/aftersale/">售后</a>
</li>
                                    
<li >
    <a href="../../mall/vip/">会员</a>
</li>
                                    
<li >
    <a href="../../mall/charge/">充值</a>
</li>
                                    
<li >
    <a href="../../mall/live/">直播</a>
</li>
                                    
<li >
    <a href="../../www/www/">官网</a>
</li>
                                    
<li >
    <a href="../../mall/invite/">邀请</a>
</li>
                                    
<li >
    <a href="../../feed/feed/">圈子</a>
</li>
                                </ul>
                            </li>
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">管理后台 <b class="caret"></b></a>
                                <ul class="dropdown-menu">
                                    
<li >
    <a href="../../admin/user/">用户</a>
</li>
                                    
<li >
    <a href="../../admin/goods/">商品</a>
</li>
                                    
<li >
    <a href="../../admin/ad/">推广</a>
</li>
                                    
<li >
    <a href="../../admin/topic/">活动</a>
</li>
                                    
<li >
    <a href="../../www/www-admin/">官网</a>
</li>
                                </ul>
                            </li>
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">溯源 <b class="caret"></b></a>
                                <ul class="dropdown-menu">
                                    
<li >
    <a href="../../trace/pda/">PDA</a>
</li>
                                </ul>
                            </li>
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">中优 <b class="caret"></b></a>
                                <ul class="dropdown-menu">
                                    
<li >
    <a href="../../zhongyou/trading_index/">指数</a>
</li>
                                    
<li >
    <a href="../../zhongyou/admin/">后台</a>
</li>
                                </ul>
                            </li>
                            <li class="dropdown active">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">快递 <b class="caret"></b></a>
                                <ul class="dropdown-menu">
                                    
<li >
    <a href="../express/">app接口</a>
</li>
                                    
<li class="active">
    <a href="./">用户app接口</a>
</li>
                                    
<li >
    <a href="../../admin/express/">管理接口</a>
</li>
                                </ul>
                            </li>
                        </ul>

                    <ul class="nav navbar-nav navbar-right">
                        <li>
                            <a href="#" data-toggle="modal" data-target="#mkdocs_search_modal">
                                <i class="fa fa-search"></i> Search
                            </a>
                        </li>
                            <li >
                                <a rel="next" href="../express/">
                                    <i class="fa fa-arrow-left"></i> Previous
                                </a>
                            </li>
                            <li >
                                <a rel="prev" href="../../admin/express/">
                                    Next <i class="fa fa-arrow-right"></i>
                                </a>
                            </li>
                    </ul>
                </div>
            </div>
        </div>

        <div class="container">
                <div class="col-md-3"><div class="bs-sidebar hidden-print affix well" role="complementary">
    <ul class="nav bs-sidenav">
        <li class="main active"><a href="#_1">物流用户端接口文档</a></li>
            <li><a href="#_2">修订记录</a></li>
            <li><a href="#_3">背景</a></li>
            <li><a href="#_4">产品说明</a></li>
            <li><a href="#_5">关键流程说明</a></li>
            <li><a href="#_6">接口说明</a></li>
    </ul>
</div></div>
                <div class="col-md-9" role="main">

<h1 id="_1">物流用户端接口文档</h1>
<div class="toc">
<ul>
<li><a href="#_1">物流用户端接口文档</a><ul>
<li><a href="#_2">修订记录</a></li>
<li><a href="#_3">背景</a></li>
<li><a href="#_4">产品说明</a></li>
<li><a href="#_5">关键流程说明</a></li>
<li><a href="#_6">接口说明</a><ul>
<li><a href="#_7">登录流程说明</a><ul>
<li><a href="#_8">登录头说明</a></li>
<li><a href="#_9">手机号登录</a></li>
<li><a href="#_10">微信登录</a></li>
<li><a href="#10">1.0 地址列表接口</a><ul>
<li><a href="#_11">接口说明</a></li>
<li><a href="#_12">请求说明</a></li>
<li><a href="#_13">输入参数</a></li>
<li><a href="#_14">返回实例</a></li>
</ul>
</li>
<li><a href="#11">1.1 智能地址识别</a><ul>
<li><a href="#_15">接口说明</a></li>
<li><a href="#_16">请求说明</a></li>
<li><a href="#_17">输入参数</a></li>
<li><a href="#_18">返回实例</a></li>
</ul>
</li>
<li><a href="#12">1.2 快递费预估</a><ul>
<li><a href="#_19">接口说明</a></li>
<li><a href="#_20">请求说明</a></li>
<li><a href="#_21">输入参数</a></li>
<li><a href="#_22">返回实例</a></li>
</ul>
</li>
<li><a href="#13">1.3 创建订单</a><ul>
<li><a href="#_23">接口说明</a></li>
<li><a href="#_24">请求说明</a></li>
<li><a href="#_25">输入参数</a></li>
<li><a href="#_26">错误说明</a></li>
<li><a href="#_27">返回实例</a></li>
</ul>
</li>
<li><a href="#14">1.4 取消订单</a><ul>
<li><a href="#_28">接口说明</a></li>
<li><a href="#_29">请求说明</a></li>
<li><a href="#_30">输入参数</a></li>
<li><a href="#_31">错误说明</a></li>
<li><a href="#_32">返回实例</a></li>
</ul>
</li>
<li><a href="#15">1.5 重新支付</a><ul>
<li><a href="#_33">接口说明</a></li>
<li><a href="#_34">请求说明</a></li>
<li><a href="#_35">输入参数</a></li>
<li><a href="#_36">错误说明</a></li>
<li><a href="#_37">返回实例</a></li>
</ul>
</li>
<li><a href="#16">1.6 订单列表</a><ul>
<li><a href="#_38">接口说明</a></li>
<li><a href="#_39">请求说明</a></li>
<li><a href="#_40">输入参数</a></li>
<li><a href="#_41">返回实例</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<h2 id="_2">修订记录</h2>
<hr />
<table>
<thead>
<tr>
<th>日期</th>
<th>作者</th>
<th>修订类型</th>
<th>修订内容</th>
<th>版本</th>
</tr>
</thead>
<tbody>
<tr>
<td>2020年07月03日</td>
<td>冷立纲</td>
<td>A</td>
<td>新增设计方案</td>
<td>1.0</td>
</tr>
</tbody>
</table>
<blockquote>
<p>【修订类型：A-新增  M-修改 D-删除】</p>
</blockquote>
<h2 id="_3">背景</h2>
<p>物流用户端接口文档</p>
<h2 id="_4">产品说明</h2>
<h2 id="_5">关键流程说明</h2>
<h2 id="_6">接口说明</h2>
<h3 id="_7">登录流程说明</h3>
<h4 id="_8">登录头说明</h4>
<p><em>将accessToken作为请求头 Authorization: 'token'  发送请求即可获取权限</em></p>
<h4 id="_9">手机号登录</h4>
<ol>
<li>调用短信发送接口发送短信验证 /user/sendsms </li>
<li>手机号注册登录获取token /user/joinin </li>
<li>将accessToken作为请求头 Authorization: 'token'  发送请求</li>
</ol>
<h4 id="_10">微信登录</h4>
<ol>
<li>微信授权回调接口 /oauth2/weixin/callback 获取登录token</li>
<li>将accessToken作为请求头 Authorization: 'token'  发送请求</li>
</ol>
<h4 id="10">1.0 地址列表接口</h4>
<h5 id="_11">接口说明</h5>
<h5 id="_12">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/u/address/list</td>
</tr>
</tbody>
</table>
<h5 id="_13">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">page</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">分页</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">limit</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">单页条数</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">#####  错误说明</td>
<td align="center"></td>
<td align="left"></td>
<td align="left"></td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_14">返回实例</h5>
<pre><code class="json">{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;pageSize&quot;: 8,
        &quot;currentPage&quot;: 1,
        &quot;list&quot;: [
            {
                &quot;user&quot;: &quot;zhangsan&quot;, //姓名
                &quot;mobile&quot;: &quot;15201008961&quot;, //手机号
                &quot;province&quot;: &quot;beijign&quot;, //省份
                &quot;city&quot;: &quot;beijing&quot;, //城市
                &quot;area&quot;: &quot;chaoyang&quot;, // 区
                &quot;detail&quot;: &quot;测试&quot;, //详细地址
                &quot;longitude&quot;: null, //经度
                &quot;latitude&quot;: null, //纬度
                &quot;addr&quot;: &quot;北京市朝阳区测试&quot; //完整地址
            }
        ],
        &quot;end&quot;: true,
        &quot;empty&quot;: false,
        &quot;startIndex&quot;: 0,
        &quot;totalPage&quot;: 1
    }
}

</code></pre>

<h4 id="11">1.1 智能地址识别</h4>
<h5 id="_15">接口说明</h5>
<h5 id="_16">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/u/address/extract</td>
</tr>
</tbody>
</table>
<h5 id="_17">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">text</td>
<td align="center">市</td>
<td align="left">string</td>
<td align="left">地址文本</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">#####  错误说明</td>
<td align="center"></td>
<td align="left"></td>
<td align="left"></td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_18">返回实例</h5>
<pre><code class="json">{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;house&quot;: &quot;6栋&quot;,  //楼号
        &quot;poi&quot;: &quot;规划路罗西住宅区9组团&quot;, //poi 信息
        &quot;town&quot;: &quot;状元街道&quot;, //街道
        &quot;city&quot;: &quot;温州市&quot;, //城市
        &quot;area&quot;: &quot;龙湾区&quot;, //区
        &quot;mobile&quot;: &quot;18170371112&quot;, //手机号
        &quot;detail&quot;: &quot;规划路罗西住宅区9组团6栋&quot;, //详情
        &quot;user&quot;: &quot;吴鸿&quot;, //用户名
        &quot;provice&quot;: &quot;浙江省&quot; //省份
    }
}

</code></pre>

<h4 id="12">1.2 快递费预估</h4>
<h5 id="_19">接口说明</h5>
<h5 id="_20">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/u/order/evaluation</td>
</tr>
</tbody>
</table>
<h5 id="_21">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">fromLongitude</td>
<td align="center">是</td>
<td align="left">double</td>
<td align="left">来源经度</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">fromLatitude</td>
<td align="center">是</td>
<td align="left">double</td>
<td align="left">来源纬度</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">toLongitude</td>
<td align="center">是</td>
<td align="left">double</td>
<td align="left">目的经度</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">toLatitude</td>
<td align="center">是</td>
<td align="left">double</td>
<td align="left">目的纬度</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">weight</td>
<td align="center">是</td>
<td align="left">int</td>
<td align="left">重量</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">#####  错误说明</td>
<td align="center"></td>
<td align="left"></td>
<td align="left"></td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_22">返回实例</h5>
<pre><code class="json">{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: 48.0 // 估价 元
}

</code></pre>

<h4 id="13">1.3 创建订单</h4>
<h5 id="_23">接口说明</h5>
<h5 id="_24">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/u/order/create</td>
</tr>
</tbody>
</table>
<h5 id="_25">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">fromLongitude</td>
<td align="center">是</td>
<td align="left">double</td>
<td align="left">来源经度</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">fromLatitude</td>
<td align="center">是</td>
<td align="left">double</td>
<td align="left">来源纬度</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">toLongitude</td>
<td align="center">是</td>
<td align="left">double</td>
<td align="left">目的经度</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">toLatitude</td>
<td align="center">是</td>
<td align="left">double</td>
<td align="left">目的纬度</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">fromUser</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">发件人</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">fromMobile</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">发件人手机号</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">toUser</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">收件人</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">toMobile</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">收件人手机号</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">itemComment</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">物品信息</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">fromProvince</td>
<td align="center">否</td>
<td align="left">string</td>
<td align="left">来源省份</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">fromCity</td>
<td align="center">否</td>
<td align="left">string</td>
<td align="left">来源城市</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">fromArea</td>
<td align="center">否</td>
<td align="left">string</td>
<td align="left">来源地区</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">fromDetail</td>
<td align="center">否</td>
<td align="left">string</td>
<td align="left">来源详细地址</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">fromAddr</td>
<td align="center">否</td>
<td align="left">string</td>
<td align="left">来源完整地址</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">toProvince</td>
<td align="center">否</td>
<td align="left">string</td>
<td align="left">目的省份</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">toCity</td>
<td align="center">否</td>
<td align="left">string</td>
<td align="left">目的城市</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">toArea</td>
<td align="center">否</td>
<td align="left">string</td>
<td align="left">目的地区</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">toDetail</td>
<td align="center">否</td>
<td align="left">string</td>
<td align="left">目的详细地址</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">toAddr</td>
<td align="center">否</td>
<td align="left">string</td>
<td align="left">目的完整地址</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">num</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">物品数量</td>
<td align="left">最小值1</td>
</tr>
<tr>
<td align="left">comments</td>
<td align="center">否</td>
<td align="left">string</td>
<td align="left">备注</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">expressType</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">1 取件 0 送件</td>
<td align="left">默认 送件</td>
</tr>
<tr>
<td align="left">getMinTime</td>
<td align="center">否</td>
<td align="left">long</td>
<td align="left">最早取件时间</td>
<td align="left">0 立刻</td>
</tr>
<tr>
<td align="left">getMaxTime</td>
<td align="center">否</td>
<td align="left">long</td>
<td align="left">最晚取件时间</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_26">错误说明</h5>
<h5 id="_27">返回实例</h5>
<pre><code class="json">{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;payOrderId&quot;: &quot;210728160628475131003&quot;,  //订单号
        &quot;outPayOrderId&quot;:  &quot;prepay_id=wx28160647996790677d5b39e4077bfa0000&quot;,
        &quot;callPayInfo&quot;: &quot;{\&quot;appId\&quot;:\&quot;wx10becc5288b64881\&quot;,\&quot;nonceStr\&quot;:\&quot;xhHtKgBx1OXSQQ1g\&quot;,\&quot;packageValue\&quot;:\&quot;prepay_id=wx28160647996790677d5b39e4077bfa0000\&quot;,\&quot;paySign\&quot;:\&quot;5CF39FC472949B7E5FF0BF409156D12F\&quot;,\&quot;signType\&quot;:\&quot;MD5\&quot;,\&quot;timeStamp\&quot;:\&quot;1627459608\&quot;}&quot;,  //支付参数
        &quot;payCallbackInfo&quot;: null
    }
}

</code></pre>

<h4 id="14">1.4 取消订单</h4>
<h5 id="_28">接口说明</h5>
<h5 id="_29">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/u/order/cancel</td>
</tr>
</tbody>
</table>
<h5 id="_30">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">sn</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">物流单号</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_31">错误说明</h5>
<h5 id="_32">返回实例</h5>
<pre><code class="json">{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {

    }
}

</code></pre>

<h4 id="15">1.5 重新支付</h4>
<h5 id="_33">接口说明</h5>
<h5 id="_34">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">post</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/u/order/prepay</td>
</tr>
</tbody>
</table>
<h5 id="_35">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">sn</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">物流单号</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">payType</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">支付方式</td>
<td align="left">固定值 WX_MP</td>
</tr>
<tr>
<td align="left">openId</td>
<td align="center">是</td>
<td align="left">string</td>
<td align="left">微信openId</td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_36">错误说明</h5>
<h5 id="_37">返回实例</h5>
<pre><code class="json">{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;:  {
        &quot;payOrderId&quot;: &quot;210728160628475131003&quot;,  //订单号
        &quot;outPayOrderId&quot;:  &quot;prepay_id=wx28160647996790677d5b39e4077bfa0000&quot;,
        &quot;callPayInfo&quot;: &quot;{\&quot;appId\&quot;:\&quot;wx10becc5288b64881\&quot;,\&quot;nonceStr\&quot;:\&quot;xhHtKgBx1OXSQQ1g\&quot;,\&quot;packageValue\&quot;:\&quot;prepay_id=wx28160647996790677d5b39e4077bfa0000\&quot;,\&quot;paySign\&quot;:\&quot;5CF39FC472949B7E5FF0BF409156D12F\&quot;,\&quot;signType\&quot;:\&quot;MD5\&quot;,\&quot;timeStamp\&quot;:\&quot;1627459608\&quot;}&quot;,  //支付参数
        &quot;payCallbackInfo&quot;: null
    }
}

</code></pre>

<h4 id="16">1.6 订单列表</h4>
<h5 id="_38">接口说明</h5>
<h5 id="_39">请求说明</h5>
<table>
<thead>
<tr>
<th align="left">http 请求方式</th>
<th align="center">get</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">url</td>
<td align="center">/u/order/list</td>
</tr>
</tbody>
</table>
<h5 id="_40">输入参数</h5>
<table>
<thead>
<tr>
<th align="left">参数</th>
<th align="center">必选</th>
<th align="left">类型</th>
<th align="left">参数说明</th>
<th align="left">备注</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">page</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">分页</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">limit</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">单页条数</td>
<td align="left"></td>
</tr>
<tr>
<td align="left">status</td>
<td align="center">否</td>
<td align="left">int</td>
<td align="left">状态</td>
<td align="left">//状态 0 初始 100 疑难 102 揽收  207 拒签 205 退签 200 签收 400 派件 401 转发 404 退回</td>
</tr>
<tr>
<td align="left">#####  错误说明</td>
<td align="center"></td>
<td align="left"></td>
<td align="left"></td>
<td align="left"></td>
</tr>
</tbody>
</table>
<h5 id="_41">返回实例</h5>
<pre><code class="json">

{
    &quot;c&quot;: 0,
    &quot;m&quot;: null,
    &quot;d&quot;: {
        &quot;pageSize&quot;: 10,
        &quot;currentPage&quot;: 1,
        &quot;list&quot;: [
            {
                &quot;sn&quot;: &quot;BBB&quot;,
                &quot;fromUser&quot;: &quot;zhangsan&quot;, //来源用户名
                &quot;fromMobile&quot;: &quot;15201008961&quot;, //来源用户手机号
                &quot;fromProvince&quot;: &quot;beijign&quot;, //来源省份
                &quot;fromCity&quot;: &quot;beijing&quot;,//来源城市
                &quot;fromArea&quot;: &quot;chaoyang&quot;, //来源地区
                &quot;fromDetail&quot;: &quot;测试&quot;, //来源详情
                &quot;fromLongitude&quot;: null, //来源经度
                &quot;fromLatitude&quot;: null, //来源维度
                &quot;fromAddr&quot;: &quot;北京市朝阳区测试&quot;, //来源详细地址
                &quot;toUser&quot;: &quot;laoliu&quot;, //目标用户名
                &quot;toMobile&quot;: &quot;15201008963&quot; , //目标手机号
                &quot;toProvince&quot;: &quot;北京&quot;, //目标省份
                &quot;toCity&quot;: &quot;北京&quot;, //目标城市
                &quot;toArea&quot;: &quot;东城&quot;, //目标地区
                &quot;toDetail&quot;: &quot;姚家园路&quot;, //目标详情
                &quot;toLongitude&quot;: null, //目标经度
                &quot;toLatitude&quot;: null, //目标维度
                &quot;toAddr&quot;: &quot;北京市朝阳区东城测试&quot;, //目标完整地址
                &quot;itemComment&quot;: &quot;我是测试&quot;, //包裹说明
                &quot;weight&quot;: null, //重量 kg
                &quot;num&quot;: 1, //数量 个
                &quot;status&quot;: 0, //状态 0 初始 100 疑难 102 揽收  207 拒签 205 退签 200 签收 400 派件 401 转发 404 退回
                &quot;images&quot;: null,
                &quot;type&quot;: 0, // 0 系统 1 快递员揽收
                &quot;xgetUid&quot;: null, // 揽收人
                &quot;deliveryUid&quot;: null, //派件人
                &quot;addTime&quot;: null, // 下单时间
                &quot;xgetTime&quot;: null, // 取件时间
                &quot;arriveTime&quot;: null, // 送达时间
                &quot;freightFee&quot;: null, // 运费
                &quot;payStatus&quot;: 1, // 支付状态 0 未支付 1 已支付
                &quot;comments&quot;: &quot;测试&quot;, // 备注
                &quot;channel&quot;: null, //渠道
                &quot;estimateTime&quot;: null  // 预计送达时间
            }
        ],
        &quot;end&quot;: true,
        &quot;empty&quot;: false,
        &quot;startIndex&quot;: 0,
        &quot;totalPage&quot;: null
    }
}

</code></pre></div>
        </div>

        <footer class="col-md-12">
            <hr>
            <p>Documentation built with <a href="https://www.mkdocs.org/">MkDocs</a>.</p>
        </footer>
        <script>
            var base_url = "../..",
                shortcuts = {"search": 83, "next": 78, "help": 191, "previous": 80};
        </script>
        <script src="../../js/base.js" defer></script>
        <script src="../../search/main.js" defer></script>

        <div class="modal" id="mkdocs_search_modal" tabindex="-1" role="dialog" aria-labelledby="Search Modal" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                <h4 class="modal-title" id="exampleModalLabel">Search</h4>
            </div>
            <div class="modal-body">
                <p>
                    From here you can search these documents. Enter
                    your search terms below.
                </p>
                <form role="form">
                    <div class="form-group">
                        <input type="text" class="form-control" placeholder="Search..." id="mkdocs-search-query" title="Type search term here">
                    </div>
                </form>
                <div id="mkdocs-search-results"></div>
            </div>
            <div class="modal-footer">
            </div>
        </div>
    </div>
</div><div class="modal" id="mkdocs_keyboard_modal" tabindex="-1" role="dialog" aria-labelledby="Keyboard Shortcuts Modal" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                <h4 class="modal-title" id="exampleModalLabel">Keyboard Shortcuts</h4>
            </div>
            <div class="modal-body">
              <table class="table">
                <thead>
                  <tr>
                    <th style="width: 20%;">Keys</th>
                    <th>Action</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td class="help shortcut"><kbd>?</kbd></td>
                    <td>Open this help</td>
                  </tr>
                  <tr>
                    <td class="next shortcut"><kbd>n</kbd></td>
                    <td>Next page</td>
                  </tr>
                  <tr>
                    <td class="prev shortcut"><kbd>p</kbd></td>
                    <td>Previous page</td>
                  </tr>
                  <tr>
                    <td class="search shortcut"><kbd>s</kbd></td>
                    <td>Search</td>
                  </tr>
                </tbody>
              </table>
            </div>
            <div class="modal-footer">
            </div>
        </div>
    </div>
</div>

    </body>
</html>
